package cn.gpnusz.oliverwiki.service;

import cn.gpnusz.oliverwiki.entity.Demo;
import cn.gpnusz.oliverwiki.mapper.DemoMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author h0ss
 * @description
 * @date 2021/8/24 - 20:57
 */
@Service
public class DemoService {
    @Resource
    private DemoMapper demoMapper;

    public List<Demo> getAll(){
        return demoMapper.selectByExample(null);
    }
}
